export const layerHooks = (mapInit: any) => {
    let { map, AMapObj } = mapInit;

    function initLayer() {
        let satellite = new AMapObj.TileLayer.Satellite();
        let RoadNet = new AMapObj.TileLayer.RoadNet();

        return {
            satellite,
            RoadNet,
        };
    }

    return {
        initLayer,
    };
};
